GET BACKBUFFER WIDTH

This command will return the width of the backbuffer.

  Syntax
Return Integer=GET BACKBUFFER WIDTH()
  Returns

The width of the backbuffer

  Description

You can pass this data to a DLL to assist in the direct access of backbuffer memory. You can only use this command when you have used the LOCK BACKBUFFER command.

  Example Code
cls
set display mode 800,600,32
wait 1000*8
print "backbuffer width "+str$(get backbuffer width())
do
loop
end
  See also

DISPLAY Commands Menu
Index